//
//  TestController.m
//  LearnObjectiveC
//
//  Created by 吴可高 on 16/10/11.
//  Copyright © 2016年 吴可高. All rights reserved.
//

#import "TestController.h"

@interface TestController ()

@end

@implementation TestController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor blueColor];
//    [self normalNavigationBarStyle];
    __weak  typeof(self)weakSelf = self;
    [self customNavigationBarStyleWithleftBarItems:@[@"left",@""] navigationItemTitle:@"test" andRightBarButtonItems:@[@"right",@""] leftBarItemHandleComplete:^(NSInteger idx, UIButton *parameter) {
        [weakSelf.navigationController popViewControllerAnimated:YES];
    } rightBarItemHanbleComplete:^(NSInteger idx, UIButton *parameter) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
